#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:do_exam1.py
# author:王雯雯
# datetime:2024-12-7
# software: PyCharm

from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, Integer, String, TIMESTAMP
Base = declarative_base()

class Message(Base):
    __tablename__ ='message_table'
    msg_id = Column(Integer, primary_key=True, autoincrement=True)
    msg_content = Column(String(255))
    msg_author = Column(String(50))
    review_status = Column(String(20))
    msg_time = Column(TIMESTAMP)
